package heima3_2.cn.osc.ui.adapter;

import android.content.Context;
import android.view.ViewGroup;


import java.util.List;

import heima3_2.cn.osc.base.BaseHolder;
import heima3_2.cn.osc.base.MyBaseAdapter;
import heima3_2.cn.osc.hold.FriendsHolder;
import heima3_2.cn.osc.model.bean.ActiveBean;

/**
 * Created by emily on 2017/1/15.
 */

public class FriendsAdapater extends MyBaseAdapter<ActiveBean>{


    public FriendsAdapater(Context context, List<ActiveBean> listData) {
        super(context, listData);
    }

    @Override
    public BaseHolder<ActiveBean> createViewHolder(Context context, ViewGroup parent, ActiveBean bean, int position) {
        return new FriendsHolder(context,parent,this,position,bean);
    }
}
